diff options
Diffstat (limited to 'src/android/app/src/main/res/layout/fragment_grid.xml')
-rw-r--r-- | src/android/app/src/main/res/layout/fragment_grid.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/android/app/src/main/res/layout/fragment_grid.xml b/src/android/app/src/main/res/layout/fragment_grid.xml new file mode 100644 index 000000000..f5b6c2e19 --- /dev/null +++ b/src/android/app/src/main/res/layout/fragment_grid.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <androidx.swiperefreshlayout.widget.SwipeRefreshLayout + android:id="@+id/refresh_grid_games" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <TextView + android:id="@+id/gamelist_empty_text" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:text="@string/empty_gamelist" + android:visibility="gone" + android:textSize="18sp" + android:gravity="center" /> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/grid_games" + android:layout_width="match_parent" + android:layout_height="match_parent" + tools:listitem="@layout/card_game" /> + </RelativeLayout> + + </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> +</FrameLayout>
\ No newline at end of file |